<?php
 
namespace models\entities;
 
/**
 * @Entity(repositoryClass="models\repositories\LemariRepository")
 * @Table(name="lemari")
 */
class Lemari {
 
/**
 * @Id
 * @Column(name="kode",type="string", length=45, unique=true, nullable=false)
 */
	protected $kode;
 
/**
 * @Column(name="nama", type="string", length=45)
 */
	protected $nama;

	/**
 * @Column(name="capacity", type="integer", length=11)
 */
	protected $capacity;
 
 
	public function setKode($kode)
	{
	    $this->kode = $kode;
	}
 
	public function getKode()
	{
	    return $this->kode;
	}

	public function setNama($nama)
	{
	    $this->nama = $nama;
	}
 
	public function getNama()
	{
	    return $this->nama;
	}	

	public function setCapacity($capacity)
	{
	    $this->capacity = $capacity;
	}
 
	public function getCapacity()
	{
	    return $this->capacity;
	}
}